/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.find.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.find.entity.Ads;
import com.thinkgem.jeesite.modules.find.dao.AdsDao;

/**
 * 广告管理Service
 * @author 罗洪州
 * @version 2018-02-08
 */
@Service
@Transactional(readOnly = true)
public class AdsService extends CrudService<AdsDao, Ads> {

	public Ads get(String id) {
		return super.get(id);
	}
	
	public List<Ads> findList(Ads ads) {
		return super.findList(ads);
	}
	
	public Page<Ads> findPage(Page<Ads> page, Ads ads) {
		return super.findPage(page, ads);
	}
	
	@Transactional(readOnly = false)
	public void save(Ads ads) {
		super.save(ads);
	}
	
	@Transactional(readOnly = false)
	public void delete(Ads ads) {
		super.delete(ads);
	}
	
}